package com.superitem.school.service;

import com.superitem.school.mapper.GoodsTypeMapper;
import com.superitem.school.pojo.GoodsType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsTypeService {
    @Autowired
    public GoodsTypeMapper goodsTypeMapper;

    public List<GoodsType> showAllGoodsType(){
        return goodsTypeMapper.selectAll();
    }
}
